import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/sales",
    name: "salesTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "customer-maintenance",
        name: "customerMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "customerMaintenance" */ "@/views/sales/Customer.vue"
          ),
        meta: {
          title: "客户维护",
        },
      },
      {
        path: "contract-maintenance",
        name: "contractMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "contractMaintenance" */ "@/views/sales/ContractReceipt.vue"
          ),
        meta: {
          title: "合同维护",
        },
      },
      {
        path: "order-maintenance",
        name: "orderMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "orderMaintenance" */ "@/views/sales/OrderReceipt.vue"
          ),
        meta: {
          title: "订单维护",
        },
      },
    ],
  },
];
